﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel;
namespace Models
{
    /// <summary>
    /// 字典表
    /// </summary>
    [Table("Base_Code")]
    public class CodeModel
    {
        /// <summary>
        /// 
        /// </summary>
        [Column("Id")]
        [Description("")]
        public string Id { get; set; }

        /// <summary>
        /// 编码
        /// </summary>
        [Column("Code")]
        [Description("编码")]
        public string Code { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [Column("Name")]
        [Description("名称")]
        public string Name { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Column("Value")]
        [Description("值")]
        public string Value { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Column("Sort")]
        [Description("排序字段")]
        public int? Sort { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Column("ParentId")]
        [Description("父级")]
        public string ParentId { get; set; }

    }
}
